Distributed historization system

ABSTRACT

A system for historizing process control data. A configurator module registers a data source device with a historian server and indicates to the historian server to generate data source registration information for identifying the registered data source device. The historian server generates and stores the data source registration information. The historian server also generates a connection token comprising the data source registration information. The configurator module forwards the connection token to the data source device, which stores the token and sends it to the historian server with data. The historian server compares the connection token received from the data source device to the connection token stored by the historian server, wherein if they match, the historian server stores the data from data source device.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No.14/704,661, filed May 5, 2015, entitled “Distributed HistorizationSystem”, which claims the benefit of and priority to U.S. ProvisionalApplication No. 61/988,731, filed May 5, 2014, entitled “DistributedHistorization System.” The entire contents of the above identifiedapplication are expressly incorporated herein by reference, includingthe contents and teachings of any references contained therein.

This application claims priority of Madden et al., U.S. provisionalapplication Ser. No. 62/092,051 filed on Dec. 15, 2014, entitled “DataUpload Security in a Historization System.” The entire contents of theabove identified application are expressly incorporated herein byreference, including the contents and teachings of any referencescontained therein.

BACKGROUND

Aspects of the present invention generally relate of the fields ofnetworked computerized industrial control, automation systems andnetworked computerized systems utilized to monitor, log, and displayrelevant manufacturing/production events and associated data, andsupervisory level control and manufacturing information systems. Suchsystems generally execute above a regulatory control layer in a processcontrol system to provide guidance to lower level control elements suchas, by way of example, programmable logic controllers or distributedcontrol systems (DCSs). Such systems are also employed to acquire andmanage historical information relating to processes and their associatedoutputs. More particularly, aspects of the present invention relate tosystems and methods for storing and preserving gathered data andensuring that the stored data is accessible when necessary.“Historization” is a vital task in the industry as it enables analysisof past data to improve processes.

Typical industrial processes are extremely complex and receivesubstantially greater volumes of information than any human couldpossibly digest in its raw form. By way of example, it is not unheard ofto have thousands of sensors and control elements (e.g., valveactuators) monitoring/controlling aspects of a multi-stage processwithin an industrial plant. These sensors are of varied type and reporton varied characteristics of the process. Their outputs are similarlyvaried in the meaning of their measurements, in the amount of data sentfor each measurement, and in the frequency of their measurements. Asregards the latter, for accuracy and to enable quick response, some ofthese sensors/control elements take one or more measurements everysecond. Multiplying a single sensor/control element by thousands ofsensors/control elements (a typical industrial control environment)results in an overwhelming volume of data flowing into the manufacturinginformation and process control system. Sophisticated data managementand process visualization techniques have been developed to store andmaintain the large volumes of data generated by such system.

It is a difficult but vital task to ensure that the process is runningefficiently. An aspect of the present invention is a system that storesdata from multiple sources and enables access to the data in multiplelocations and forms. The system simplifies and streamlines a user'sability to access and analyze data from any location connected to thesystem. Further, the system maintains a granular system of user accesscontrol and advanced data visualization methods.

SUMMARY

Aspects of the present invention relate to a system that stores datafrom data sources on a server and enables access to the data stored onthe server. The system simplifies and streamlines a user's ability toaccess and analyze data from any location connected to the system.Further, the system maintains a granular system of user access controland data source registration methods.

In one form, a system historizes process control data. The system has adata source device and a configurator module connected to a historianserver. The configurator module connects to the historian server. Theconfigurator module registers the data source device with the historianserver. The historian server registers the data source device asindicated by the configurator module. The configurator module indicatesto the historian server to generate data source registration informationfor identifying the registered data source device. The historian servergenerates the data source registration information for identifying theregistered data source device as indicated by the configurator module.The historian server stores the data source registration information.The historian server generates a connection token comprising the datasource registration information. The historian server sends theconnection token to the configurator module. The configurator modulereceives the connection token from the historian server. Theconfigurator module saves the connection token. The configurator moduleforwards the connection token to the data source device. The data sourcedevice receives the connection token from the configurator module. Thedata source device stores the connection token. The data source devicesends data and the connection token to the historian server. Thehistorian server compares the connection token received from the datasource device to the connection token stored by the historian server,wherein if the connection token received from the data source device andthe connection token stored by the historian server are found to match,the historian server stores the data from data source device.

In another form, a method is provided.

Other features will be in part apparent and in part pointed outhereinafter.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram detailing an architecture of a historian systemaccording to an embodiment of the invention.

FIG. 2 is an exemplary diagram of a historization workflow performed bythe system of FIG. 1.

FIG. 3 is an exemplary diagram of the structure of the system of FIG. 1.

FIG. 4 is an exemplary sequence diagram of the registration of a datasource device and uploading of data from the data source device to thehistorian.

FIG. 5 is an exemplary sequence diagram illustrating how userauthentication is done in the system of FIG. 1 using an activedirectory.

FIG. 6 is an exemplary sequence diagram illustrating user authenticationin the system of FIG. 1 including SAML to JWT token conversion.

Corresponding reference characters indicate corresponding partsthroughout the drawings.

DETAILED DESCRIPTION

Referring to FIG. 1, a distributed historian system, generally indicatedat 100, enables users to log into the system to easily viewrelationships between various data, even if the data is stored indifferent data sources. The historian system 100 can store and use datafrom various locations and facilities and use cloud storage technologyto ensure that all the facilities are connected to all the necessarydata. The system 100 forms connections with configurators 102, datacollectors 104, and user devices 106 on which the historian data can beaccessed. The configurators 102 are modules that may be used by systemadministrators to configure the functionality of the historian system100. The data collectors 104 are modules that connect to and monitorhardware in the process control system to which the historian system 100is connected. The data collectors 104 and configurators 102 may be atdifferent locations throughout the process control system. The userdevices 106 comprise devices that are geographically distributed,enabling historian data from the system 100 to be accessed from variouslocations across a country or throughout the world.

In an embodiment, historian system 100 stores a variety of types ofinformation in storage accounts 108. This information includesconfiguration data 110, raw time-series binary data 112, tag metadata114, and diagnostic log data 116. The storage accounts 108 may beorganized to use table storage or other configuration, such as pageblobs.

In an embodiment, historian system 100 is accessed via web roleinstances. As shown, configurators 102 access configurator web roleinstances 124. And data collectors 104 access client access point webrole instances 118. Online web role instances 120 are accessed by theuser devices 106. The configurators 102 share configuration data andregistration information with the configurator web role instances 124.The configuration data and registration information is stored in thestorage accounts 108 as configuration data 110. The data collectors 104share tag metadata and raw time-series data with the client access pointweb role instances 118. The raw time-series data is shared with storageworker role instances 126 and then stored as raw time-series binary data112 in the storage accounts 108. The tag metadata is shared withmetadata server worker role instances 128 and stored as tag metadata 114in the storage accounts 108. The storage worker role instances 126 andmetadata server worker role instances 128 send raw time-series data andtag metadata to retrieval worker role instances 130. The raw time-seriesdata and tag metadata is converted into time-series data and sent to theonline web role instances 120 via data retrieval web role instances 122.Users using the user devices 106 receive the time-series data from theonline web role instances 120.

FIG. 2 describes a workflow 200 for historizing data according to thedescribed system. The Historian Client Access Layer (HCAL) 202 is aclient side module used by the client to communicate with historiansystem 100. The HCAL 202 can be used by one or more different clientsfor transmitting data to historian system 100. The data to be sent 208comes into the HCAL 202 and is stored in an active buffer 210. Theactive buffer 210 has a limited size. When the active buffer is full214, the active buffer is “flushed” 216, meaning it is cleared of thedata and the data is sent to historian 100. There is also a flush timer212 which will periodically cause the data to be sent from the activebuffer 210, even if the active buffer 210 is not yet full.

When historizing 226, the data may be sent to a historian that is onpremises 204 or a historian that stores data in the cloud 206 (step228). The HCAL 202 treats each type of historian in the same way.However, the types of historians may store the data in different ways.In an embodiment, the on-premises historian 204 historizes the data bystoring the data as files in history blocks 230. The cloud historian 206historizes the data by storing the data in page blobs 232, which enableoptimized random read and write operations.

In the event that the connection between HCAL 202 and the historian 204or 206 is not working properly, the flushed data from the active buffer210 is sent to a store forward module 220 on the client (step 218). Thedata is stored 222 in the store forward module 220 in the form ofsnapshots written to store forward blocks 224 until the connection tothe historian is functional again and the data can be properlytransmitted. The store forward module 220 may also get rid of data aftera certain period of time or when it is full. In those cases, it willsend an error to the system to indicate that data is not being retained.

FIG. 3 is a diagram 300 displaying the historization system structure ina slightly different way from FIG. 2. An HCAL 306 is hosted on anapplication server computer 302 and connected to a historian computer304 and a store forward process 308. The HCAL 306 connects to thehistorian through a server side module known as the Historian ClientAccess Point (HCAP) 312. The HCAP 312 has a variety of functions,including sending data received from HCAL 306 to be stored in historyblocks 320. The HCAP 312 also serves to report statistics to aconfiguration service process 314 and retrieve historian data from aretrieval service process 318.

The HCAL 306 connects to the store forward process 308 through a storageengine used to control the store forward process. The Storage Engineenables the HCAL 306 to store and retrieve snapshots and metadata 310 ofthe data being collected and sent to the historian. In an embodiment,the store forward process 308 on the application server computer 302 isa child Storage Engine process 308 related to a main Storage Engineprocess 316 running on the historian computer 304.

In addition, HCAL 306 provides functions to connect to the historiancomputer 304 either synchronously or asynchronously. On successful callof the connection function, a connection handle is returned to client.The connection handle can then be used for other subsequent functioncalls related to this connection. The HCAL 306 allows its client toconnect to multiple historians. In an embodiment, an “OpenConnection”function is called for each historian. Each call returns differentconnection handle associated with the connection. The HCAL 306 isresponsible for establishing and maintaining the connection to thehistorian computer 304. While connected, HCAL 306 pings the historiancomputer 304 periodically to keep the connection alive. If theconnection is broken, HCAL 306 will also try to restore the connectionperiodically.

In an embodiment, HCAL 306 connects to the historian computer 304synchronously. The HCAL 306 returns a valid connection handle for asynchronous connection only when the historian computer 304 isaccessible and other requirements such as authentication are met.

In an embodiment, HCAL 306 connects to the historian computer 304asynchronously. Asynchronous connection requests are configured toreturn a valid connection handle even when the historian 304 is notaccessible. Tags and data can be sent immediately after the connectionhandle is obtained. When disconnected from the historian computer 304,they will be stored in the HCAL's local cache while HCAL 306 tries toestablish the connection.

In an embodiment, multiple clients connect to the same historiancomputer 304 through one instance of HCAL 306. An application engine hasa historian primitive sending data to the historian computer 304 whilean object script can use the historian software development kit (SDK) tocommunicate with the same historian 304. Both are accessing the sameHCAL 306 instance in the application engine process. These clientconnections are linked to the same server object. HCAL Parameters commonto the destination historian, such as those for store forward, areshared among these connections. To avoid conflicts, certain rules haveto be followed.

In the order of connections made, the first connection is treated as theprimary connection and connections formed after the first are secondaryconnections. Parameters set by the primary connection will be in effectuntil all connections are closed. User credentials of secondaryconnections have to match with those of the primary connection or theconnection will fail. Store Forward parameters can only be set in theprimary connection. Parameters set by secondary connections will beignored and errors returned. Communication parameters such ascompression can only be set by the primary connection. Buffer memorysize can only be set by the primary connection.

The HCAL 306 provides an option called store/forward to allow data besent to local storage when it is unable to send to the historian. Thedata will be saved to a designated local folder and later forwarded tothe historian.

The client 302 enables store/forward right after a connection handle isobtained from the HCAL 306. The store/forward setting is enabled bycalling a HCAL 306 function with store/forward parameters such as thelocal folder name.

The Storage Engine 308 handles store/forward according to an embodimentof the invention. Once store/forward is enabled, a Storage Engineprocess 316 will be launched for a target historian 304. The HCAL 306keeps Storage Engine 308 alive by pinging it periodically. When data isadded to local cache memory it is also added to Storage Engine 308. Astreamed data buffer will be sent to Storage Engine 308 only when theHCAL 306 detects that it cannot send to the historian 304.

If store/forward is not enabled, streamed data values cannot be acceptedby the HCAL 306 unless the tag associated with the data value hasalready been added to the historian 304. All values will be accumulatedin the buffer and sent to the historian 304. If connection to thehistorian 304 is lost, values will be accepted until all buffers arefull. Errors will be returned when further values are sent to the HCAL306.

The HCAL 306 can be used by OLEDB or SDK applications for dataretrieval. The client issues a retrieval request by calling the HCAL 306with specific information about the query, such as the names of tags forwhich to retrieve data, start and end time, retrieval mode, andresolution. The HCAL 306 passes the request on to the historian 304,which starts the process of retrieving the results. The clientrepeatedly calls the HCAL 306 to obtain the next row in the results setuntil informed that no more data is available. Internally, the HCAL 306receives compressed buffers containing multiple row sets from thehistorian 304, which it decompresses, unpacks and feeds back to the userone row at a time. Advantageously, network round trips are kept to aminimum. The HCAL 306 supports all modes of retrieval exposed by thehistorian.

In an embodiment, the system enforces security of communication with thehistorian on the device level. Devices are required to be registered inorder to upload data to the historian. FIG. 4 shows a diagram 400depicting a method of connection from a data source device, whichcomprises a configurator module 402, an application module 404, and apublisher module 406, to the historian server 408 in order to uploadinformation. An administrator user first registers the device with thehistorian using the configurator module 402. The configurator module 402communicates the attempted registration with the historian 408 to whichthe device is being registered. A data source ID and data source secretare generated for use by the historian 408 in uniquely identifying thedata source device. A connection token 410 comprising the data sourcesecret and connection information is created and sent from theconfigurator module 402 to the publisher module 406 of the data sourcedevice. The connection token 410 is also stored by the historian 408 toenable checking access attempts from the data source device in thefuture. In this way, the data source device has the token 410 which canbe used to access the historian 408 and upload data. The data source IDand data source secret may be stored in the configurator module 402 as aresult of a hashing function for increased security. In an embodiment,the connection information in the connection token 410 includes a methodof accessing the historian, such as a universal resource locator (URL)link or the like. The publisher module 406 of the data source device mayencrypt and store the data source ID, data source secret and connectioninformation for later access to the historian 408. Also, the systemuses, for example, an encryption tool such as Data ProtectionApplication Programming Interface (DPAPI) by MICROSOFT or acertificate-based encryption (CBE) system.

When a user needs to upload data from a data source device to thehistorian 408, they sign into the data source device, which includes thepublisher module 406. In an embodiment, the publisher module 406communicates the user information with a configurator module 402 on theserver side and confirms that the user is recognized. If necessary, theuser may request a security token, as described below. The data sourcedevice then uploads data from the application module 404 to thehistorian by retrieving the stored connection token 410, decrypting thetoken if necessary, and sending the data source secret along with thedata to be uploaded to the historian 408 over a network connection. Uponreceiving the data to be uploaded and the data source secret, thehistorian 408 compares the secret against the connection token 410 whichit has stored from the data source registration process. In anembodiment, if the data source secret is found to be valid, thehistorian 408 accepts the uploaded data and stores it. If the datasource secret is found to be invalid, the historian 408 rejects theuploaded data and does not store it.

The connection between the data source device and the historian 408 canbe any secure network connection, such as Hypertext Transfer ProtocolSecure (HTTPS) or the like. A data source device maintains theregistration information regardless of whether a different user isconnected. In the event that a different user logs onto a data sourcedevice that is already registered, the data source device need not beregistered again. The system will first confirm that the user is allowedto have the access requested and then confirm that the data sourcedevice is registered to upload information, as described above.

It may be desirable for a data source device to automatically upload tothe historian when no user is logged into the data source device. Theabove described upload security system also ensures that the data sourcedevice is allowed to upload information even when there is no usercredentials to check. The data source ID and data source secret are bothunique to the data source device to ensure that only those specific datasource devices registered with the historian are allowed to connect andupload data.

In an embodiment, a user registering or using a data source device isallowed to upload information through the device, but the user does nothave access to the data source ID or data source secret. This ensuresthat a user cannot copy the data source registration information and usethem with another device. The registration information may be stronglyencrypted to ensure that it can only be decrypted on the registereddevice. The registered device may also block certain users orapplications from accessing the registration information to ensureupload security by the user using the device or the application runningon the device. A user may be denied registration information if theuser's security clearance does not include the ability to register newdevices with the historian for upload of data.

FIG. 5 shows a sequence diagram 500 of the user authentication process.A user 502 may attempt to log in to a content server 506 through a webbrowser 504. Upon accessing the system home page, the user 502 chooses a“signin link”, which redirects the browser 504 to open a login page froman active directory 508. The user 502 enters credentials such as a username and password to attempt to login to the active directory 508. Theactive directory 508 authenticates the user's 502 credentials, and ifthey are satisfactory, the active directory 508 generates a “SecurityAssertion Markup Language” (SAML) Token, which is returned to thebrowser 504 for use. In an embodiment, the SAML token is tenant-specificand only grants access to the active directory 508 assigned to thetenant of the user 502.

Once the user 502 has a valid SAML token, he or she is redirected backto the content server 506 to provide a token. The content server 506confirms that the token is valid and opens a session for the user 502 toaccess the content on the server. Navigating to the home page (e.g.,historian.com) presents a generic home page. Clicking sign-in displays ageneric login screen presented by the common active directory. By virtueof the domain portion of the username (for example,onlinecustomer1.historian.com), the user 502 gets authenticated againstan active directory 508 that was created for that domain. The system can‘brand’ the individual active directory 508 authentication pages. Thelogin page comes from the company specific active directory 508.

FIG. 6 is a sequence diagram 600 that expands on FIG. 5. A user 602 maywant to access certain APIs on the system that require a separate JSONWeb Token (JWT) from the SAML token. Once the user 602 has an opensession by virtue of having a valid SAML token from the active directory608, as described above, the user may click on a hyperlink to accesssome data from a historian storage 614. Accessing the data may requirethe creation of a JWT. Upon selecting the hyperlink, a content server606 generates a JWT from the SAML for use with the APIs to access thedesired data. A browser 604 sends an HTTP request to a WebAPI 610containing the valid JWT. The system then validates the JWT against thelist of allowed tenants in storage 614 and returns the desired historiandata from a historian WebAPI 612 to the user's browser.

The JWT token is a light weight token that can be used on the clientside through Internet Explorer and javascript. This enables the systemto use the active directory as a backend for authentication and stilluse a browser to interact with multiple websites that can provide a richclient-like web experience. The use of the JWT eliminates the need forthe browser to interact with only its site of origin. In an embodiment,the JWT token is tenant specific and only grants access to data in theactive directory or directories assigned to the tenant of the user.

The JWT is used to present evidence of authentication to the dataretrieval layers of the architecture. These issued JWT tokens have avery short expiration time and are used once and then discarded. Oncethe browser has received this token it places it into a HTTP requestheader and requests data from the content server or WebAPI data layer.These layers authenticate the token by checking its signature, claims,and signing key (this assures that it trusts the original source of thetoken).

In the process control environment, some users are given control overcertain aspects of the control environment and denied access to otheraspects. For example, one user is in charge of the line of equipmentassociated with a process cell. Another user is in charge of aparticular type of equipment instantiated throughout several lines ofequipment in a process facility. In these kinds of cases, users arepermitted access the historian system for aspects of the process controlsystem with which they work with while they are denied access forunrelated aspects.

An embodiment of the present invention uses a small immutable securitytoken to provide a guarantee of the current user in an embodiment. Anexternal trusted token provider issues the token to authenticate theuser's identity. In addition the token associates the user with hergroup membership classes. In the management system discussed above, thetoken might associate one user with a process cell (e.g., the user whocontrols a line of equipment) and another user with a particularoperation (e.g., the user who works with a particular type ofequipment). The security features can extrapolate the user's specificroles and permissions and do any required authorization. Because thesecurity token is passed from a trusted external provider, it can bepassed from the historian system to other products that also trust theprovider. This in turn allows a single sign-on screen and permits theauthentication process to be maintained external to the historiansystem.

The Abstract and summary are provided to help the reader quicklyascertain the nature of the technical disclosure. They are submittedwith the understanding that they will not be used to interpret or limitthe scope or meaning of the claims. The summary is provided to introducea selection of concepts in simplified form that are further described inthe Detailed Description. The summary is not intended to identify keyfeatures or essential features of the claimed subject matter, nor is itintended to be used as an aid in determining the claimed subject matter.

For purposes of illustration, programs and other executable programcomponents, such as the operating system, are illustrated herein asdiscrete blocks. It is recognized, however, that such programs andcomponents reside at various times in different storage components of acomputing device, and are executed by a data processor(s) of the device.

Although described in connection with an exemplary computing systemenvironment, embodiments of the aspects of the invention are operationalwith numerous other general purpose or special purpose computing systemenvironments or configurations. The computing system environment is notintended to suggest any limitation as to the scope of use orfunctionality of any aspect of the invention. Moreover, the computingsystem environment should not be interpreted as having any dependency orrequirement relating to any one or combination of components illustratedin the exemplary operating environment. Examples of well-known computingsystems, environments, and/or configurations that may be suitable foruse with aspects of the invention include, but are not limited to,personal computers, server computers, hand-held or laptop devices,multiprocessor systems, microprocessor-based systems, set top boxes,programmable consumer electronics, mobile telephones, network PCs,minicomputers, mainframe computers, distributed computing environmentsthat include any of the above systems or devices, and the like.

Embodiments of the aspects of the invention may be described in thegeneral context of data and/or processor-executable instructions, suchas program modules, stored one or more tangible, non-transitory storagemedia and executed by one or more processors or other devices.Generally, program modules include, but are not limited to, routines,programs, objects, components, and data structures that performparticular tasks or implement particular abstract data types. Aspects ofthe invention may also be practiced in distributed computingenvironments where tasks are performed by remote processing devices thatare linked through a communications network. In a distributed computingenvironment, program modules may be located in both local and remotestorage media including memory storage devices.

In operation, processors, computers and/or servers may execute theprocessor-executable instructions (e.g., software, firmware, and/orhardware) such as those illustrated herein to implement aspects of theinvention.

Embodiments of the aspects of the invention may be implemented withprocessor-executable instructions. The processor-executable instructionsmay be organized into one or more processor-executable components ormodules on a tangible processor readable storage medium. Aspects of theinvention may be implemented with any number and organization of suchcomponents or modules. For example, aspects of the invention are notlimited to the specific processor-executable instructions or thespecific components or modules illustrated in the figures and describedherein. Other embodiments of the aspects of the invention may includedifferent processor-executable instructions or components having more orless functionality than illustrated and described herein.

The order of execution or performance of the operations in embodimentsof the aspects of the invention illustrated and described herein is notessential, unless otherwise specified. That is, the operations may beperformed in any order, unless otherwise specified, and embodiments ofthe aspects of the invention may include additional or fewer operationsthan those disclosed herein. For example, it is contemplated thatexecuting or performing a particular operation before, contemporaneouslywith, or after another operation is within the scope of aspects of theinvention.

When introducing elements of aspects of the invention or the embodimentsthereof, the articles “a,” “an,” “the,” and “said” are intended to meanthat there are one or more of the elements. The terms “comprising,”“including,” and “having” are intended to be inclusive and mean thatthere may be additional elements other than the listed elements.

In view of the above, it will be seen that several advantages of theaspects of the invention are achieved and other advantageous resultsattained.

Not all of the depicted components illustrated or described may berequired. In addition, some implementations and embodiments may includeadditional components. Variations in the arrangement and type of thecomponents may be made without departing from the spirit or scope of theclaims as set forth herein. Additional, different or fewer componentsmay be provided and components may be combined. Alternatively or inaddition, a component may be implemented by several components.

The above description illustrates the aspects of the invention by way ofexample and not by way of limitation. This description enables oneskilled in the art to make and use the aspects of the invention, anddescribes several embodiments, adaptations, variations, alternatives anduses of the aspects of the invention, including what is presentlybelieved to be the best mode of carrying out the aspects of theinvention. Additionally, it is to be understood that the aspects of theinvention is not limited in its application to the details ofconstruction and the arrangement of components set forth in thefollowing description or illustrated in the drawings. The aspects of theinvention are capable of other embodiments and of being practiced orcarried out in various ways. Also, it will be understood that thephraseology and terminology used herein is for the purpose ofdescription and should not be regarded as limiting.

Having described aspects of the invention in detail, it will be apparentthat modifications and variations are possible without departing fromthe scope of aspects of the invention as defined in the appended claims.It is contemplated that various changes could be made in the aboveconstructions, products, and process without departing from the scope ofaspects of the invention. In the preceding specification, variouspreferred embodiments have been described with reference to theaccompanying drawings. It will, however, be evident that variousmodifications and changes may be made thereto, and additionalembodiments may be implemented, without departing from the broader scopeof the aspects of the invention as set forth in the claims that follow.The specification and drawings are accordingly to be regarded in anillustrative rather than restrictive sense.

What is claimed is:
 1. A system for providing access to a historiancomprising: a historian server; and a data source device comprising aconfigurator module, a publisher module, and a non-transitory computerreadable medium comprising instructions that when executed by aprocessor cause the data source device to: communicate, by theconfigurator module, with the historian server and the publisher module;accept, by the configurator module, a data source device registrationrequest to register the data source device as a registered data source;generate, by the configurator module, a data source ID and a data sourcesecret in response to the data source device registration request; send,by the configurator module, the data source ID and the data sourcesecret to the historian server as a historian data source ID and ahistorian data source secret; send, by the configurator module, the datasource ID and the data source secret to the publisher module as a clientdata source ID and a client data source secret; receive, by thepublisher module, the client data source ID and the client data sourcesecret from the configurator module; encrypt, by the publisher module,the client data source ID and the client data source secret; receive, bythe configurator module, a request for a data upload from the datasource device; compare, by the configurator module, the client datasource ID and the client data source secret to the historian data sourceID and the historian data source secret, respectively, to check if theyare a valid match; store the data on the historian server if the matchis valid; and reject the data upload if the match is not valid; whereinthe data source ID and the data source secret uniquely identifies theregistered data source; wherein the configuration module is configuredand arranged to allow automatic uploading from the registered datasource to the historian regardless of whether a user is connected to theregistered data source; and wherein the system is configured to enforcesecurity of communication with the historian at the data source device.2. The system of claim 1, wherein the client data source ID and theclient data source secret are received together with the data for eachdata upload request from the registered data source.
 3. The system ofclaim 2, wherein the configurator module is configured and arranged toaccept user information from the registered data source, the userinformation comprising user credentials.
 4. The system of claim 3,wherein the configurator module is configured and arranged to accept thedata upload from the registered data source even when there are no usercredentials to check.
 5. The system of claim 4, wherein one or moreusers registering the registered data source do not have access to thedata source ID or the data source secret.
 6. The system of claim 5,further comprising the registered data source; wherein the data sourceID and the data source secret are encrypted; and wherein the one or moreusers cannot copy the data source ID and data secret from the registereddata source to another data source device.
 7. The system of claim 6,wherein the registered data source is configured and arranged to blockone or more users and/or applications from accessing the data source IDand the data source secret.
 8. A system for providing access to ahistorian comprising: a historian server; a data source devicecomprising a non-transitory computer readable medium comprisinginstructions that when executed by a processor implement: aconfiguration module; wherein the configuration module is configured andarranged to: communicate with the historian server for providinguploaded data to the historian server; accept a data source registrationrequest to register the data source device as a registered data source;generate a data source ID and a data source secret when the data sourcedevice registration is requested; send the data source ID and the datasource secret to the historian as a historian data source ID and ahistorian data source secret; store the data source ID and the datasource secret as a client data source ID and a client data sourcesecret; receive a request for a data upload; compare the client datasource ID and the client data source secret to the historian data sourceID and the historian data source secret, respectively, to check if theyare a valid match; send the data to the historian server if the match isvalid; and reject the data upload if the match is not valid; wherein theconfiguration module is configured and arranged to accept userinformation, the user information comprising user credentials; whereinthe configuration module is configured and arranged to accept the datafrom the registered data source even when there are no user credentialsto check; and wherein the system is configured to enforce security ofcommunication with the historian server at the data source device. 9.The system of claim 8, wherein one or more users registering theregistered data source do not have access to the data source ID or thedata source secret.
 10. The system of claim 9, wherein the one or moreusers and/or applications are blocked from accessing the data source IDand data secret.
 11. The system of claim 8, wherein the client datasource ID and the client data source secret are received together withthe uploaded data for each data upload request from the registered datasource.
 12. The system of claim 11, wherein one or more usersregistering the registered data source do not have access to the datasource ID or the data source secret.
 13. The system of claim 12, whereinthe one or more users and/or one or more applications are blocked fromaccessing the data source ID and data secret.
 14. The system of claim13, further comprising the registered data source; wherein the clientdata source ID and the client data source secret are encrypted; andwherein the one or more users cannot copy the client data source IDand/or the client data secret from the registered device to another datasource device.
 15. The system of claim 14, wherein the registered datasource is configured and arranged to block the one or more users and/orthe one or more applications from accessing the data source ID and datasecret.
 16. A system for providing access to a historian comprising: ahistorian server; and a data source device comprising a non-transitorycomputer readable medium comprising instructions that when executed by aprocessor implement: a configuration module; wherein the configurationmodule is configured and arranged to: communicate with the historianserver; accept a data source device registration request from a user toregister the data source device as a registered data source; generate adata source ID and a data source secret when the data sourceregistration is requested; store the data source ID and the data sourcesecret in a historian token on the historian server; store the datasource ID and the data secret in a client token on the registered datasource; receive the client token from the registered data source;receive a request for a data upload from the registered data source;compare the historian token to the client token to check if they are avalid match; store the data on the historian server if the match isvalid; and reject the data upload if the match is not valid; wherein thedata source ID and data source secret are received from the registereddata source; wherein one or more users registering the registered datasource do not have access to the data source ID or the data sourcesecret; and wherein the system is configured to enforce security ofcommunication with the historian at the data source device.
 17. Thesystem of claim 16, wherein the configuration module is configured andarranged to accept user information from the registered data source, theuser information comprising user credentials.
 18. The system of claim17, wherein the configuration module is configured and arranged toautomatically accept the data source upload from the registered datasource even when there are no user credentials to check.
 19. The systemof claim 18, further comprising the registered data source; wherein theclient data source ID and the client data source secret are encryptedwhen stored on the registered data source; and wherein the user or adifferent user cannot copy the data source ID and data secret from theregistered data source to another client.
 20. The system of claim 19,wherein the registered data source is configured and arranged to blockthe one or more users and/or one or more applications from accessing thedata source ID and the data source secret.